#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
int main () {
    ll num = 2021041820210418;
    vector<ll> d;
    for (ll i = 1; i * i <= num; i++) {
        if (num % i == 0) {
            d.push_back(i);
            if (num != i * i) d.push_back(num / i);
        }
    }

    int res = 0;
    for (auto a : d) 
        for (auto b : d)
            for (auto c : d)
                if (a * b * c == num)
                    res++;

    cout << res << endl;
    return 0;
}